﻿using AutoMapper;
using BCDto.WeChatComponent.WeChatNewsMaterialArticleRecord;
using BCEntity.WeChatComponent.WeChatNewsMaterialArticleRecord;
using System;
using System.Collections.Generic;
using System.Text;

namespace BCService.MapperProfiles
{
    public class WeChatNewsMaterialArticleRecordProfile : Profile
    {
        public WeChatNewsMaterialArticleRecordProfile()
        {
            CreateMap<WeChatNewsMaterialArticleRecordEntity, WeChatNewsMaterialArticleRecordDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WeChatNewsMaterialArticleRecordDto, WeChatNewsMaterialArticleRecordEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WeChatNewsMaterialArticleRecordRequestDto, WeChatNewsMaterialArticleRecordEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WeChatNewsMaterialArticleRecordPutDto, WeChatNewsMaterialArticleRecordEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            
        }
    }
}
